package com.fxkj.cloud.drms.domain.ws.service;

import com.fxkj.cloud.dbs.common.model.ws.FxWsMsg;

import java.util.List;
import java.util.Set;
import java.util.UUID;

/**
 * <p>description: </p>
 * @author ww
 * @date 2025/3/20 10:58
 */
public interface FxWsClient {

    // 推送消息给指定的人
    void pushNotificationToUser(UUID userId, FxWsMsg wsMsg);

    void pushNotificationToUsers(Set<UUID> userIds, FxWsMsg wsMsg);

    // 推送消息给指定的组织
    void pushNotificationToOrganization(UUID organizationId, FxWsMsg msg);
}
